package com.oa.lms.apps.business.notice;

import java.util.List;
import java.util.Date;

import com.oa.lms.apps.entity.notice.MessageInfoValue;

public interface IMessageInfoService {
	
	public Integer add(String title,String contents,Date createTime,Integer userId);
	
	public void modify(Integer messageId,String title,String contents,Date createTime,Integer userId);
	
	public void delete(Integer messageId);
	
	public void toRead(Integer messageId);
	
	public MessageInfoValue queryByMessageId(Integer messageId);
	
	public List<MessageInfoValue> queryMessageInfo(Integer userId, Integer status, Integer rows, Integer pageNo);
	
	public Integer getTotalPageNumber(Integer userId, Integer rows);

}
